package com.wujie.market.service;

import com.wujie.market.po.Orderdetail;

import java.util.List;

/**
 * ClassName: OrderdetailService
 * Description:
 * date: 2023/1/27 20:07
 *
 * @author 吴杰
 * @since JDK 1.8.0_31
 */
public interface OrderdetailService {

    /**
    * Description:查询所有订单详细数据
    * @author: 吴杰
    * @date: 2023/2/22 12:28
    * @param:
     * * @return:
    */
    List<Orderdetail> listAll();

    /**
    * Description:生成订单
    * @author: 吴杰
    * @date: 2023/2/22 16:22
    * @param:
     * * @return:
    */
    void addOrder(List<Orderdetail> orderdetailList);

    /**
    * Description:插入一条数据
    * @author: 吴杰
    * @date: 2023/2/22 16:46
    * @param:
     * * @return:
    */
    void insertOne(Orderdetail orderdetail);
}
